package com.hll.pojo;

import lombok.*;

import java.util.List;

/**
 * @author: Mr.Hu
 * @create: 2021-03-10 09:33
 */
@Setter
@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Teacher {
  private Integer id;
  private String name;

  private List<Student> students; /*测试查询老师的所有学生 TestTeacherMapper才打开*/
}
